﻿using IntelligentAgriculture.Contracts.Dto.Output;
using IntelligentAgriculture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentAgriculture.Contracts.Interface
{
    public interface IPregnancyService
    {
        /// <summary>
        /// 种母妊检
        /// </summary>
        /// <param name="startPregnancyDate"></param>
        /// <param name="endPregnancyDate"></param>
        /// <param name="eartag"></param>
        /// <param name="userId"></param>
        /// <param name="pregnancyResult"></param>
        /// <param name="parityNum"></param>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PageOutput<PregnancyOutput>> GetPageOutputAsync(string? startPregnancyDate, string? endPregnancyDate, string? eartag, int userId, int? pregnancyResult, int? parityNum, int pageIndex, int pageSize);
        /// <summary>
        /// 种母妊检添加
        /// </summary>
        /// <param name="sheeppregnancy"></param>
        /// <returns></returns>
        Task<int> AddPregnancy(List<Sheeppregnancy> sheeppregnancy);
        /// <summary>
        /// 种母妊检删除
        /// </summary>
        /// <param name="pregnancyId"></param>
        /// <returns></returns>
        Task<int> DelePregnancy(string? eartag);
    }
}
